<?php
/*
 * @Author: allen
 * @Date: 2020-09-08 23:03:35
 */

if (!function_exists('route_class')) {
    function route_class()
    {
        return str_replace('.', '-', Route::currentRouteName());
    }
}